package com.kxmall.huishou.domain.bo;

import com.kxmall.common.core.domain.BaseEntity;
import com.kxmall.common.core.validate.AddGroup;
import com.kxmall.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;


/**
 * 活动报名记录业务对象 hs_activity_join
 *
 * @author kxmall
 * @date 2023-11-23
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class HsActivityJoinBo extends BaseEntity {

    /**
     * 
     */
    @NotNull(message = "不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 活动id
     */
    @NotNull(message = "活动id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long activityId;

    /**
     * 用户id
     */
//    @NotBlank(message = "用户id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long userId;

    /**
     * 用户名
     */
    @NotBlank(message = "用户名不能为空", groups = { AddGroup.class, EditGroup.class })
    private String userName;

    /**
     * 手机号
     */
    @NotBlank(message = "手机号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String phone;





}
